package uml.objects;

import java.awt.Component;
import java.awt.Point;

import uml.eventsystem.IObserver;
import uml.eventsystem.ISubject;
import uml.eventsystem.events.UMLEventId;

/**
 * @author Evan Curtis
 *
 */
public interface UMLObject extends ISubject
{
	public Component getComponent();

	public void translate(Point dp);

	public Integer getLayer();
	public void setLayer(Integer layer);
	public void registerObserver(IObserver observer);
	public void select();
	public void unselect();
	public void setEventId(UMLEventId event);
	public UMLEventId getEventId();
}